package com.sprouting.personal;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 入口
 * @author longx
 */
@Slf4j
@EnableAsync
@ServletComponentScan
@MapperScan({"com.sprouting.personal.dao"})
@SpringBootApplication
@EnableWebMvc
@EnableScheduling
public class PersonalSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(PersonalSystemApplication.class, args);
    }

}
